-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create the SBOM_BLOB_URL for v0.2 buildah tasks #1192
Conversation
e574bd0
to
552ce13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not convinced this solves any immediate issues, since EC also reads the SBOM embedded in the image.
But adding the SBOM_BLOB_URL does sound good to me. Can we also stop injecting the SBOM into the image (maybe bump the version to 0.3 for responsible versioning?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a small nitpick
552ce13
to
3d3e23c
Compare
3d3e23c
to
f2d24c5
Compare
Now that the BASE_IMAGE_DIGESTS result has been removed, there should now be enough room for us to re-add the SBOM_BLOB_URL. This will enable EC verification of the SBOM based on the digest which is recorded in the provenenance. It will prevent supply-chain attacks which are driven by modifying the floating tag of the uploaded SBOM. Even with the referrer's API, the digest can be used to identify which SBOM should be the one built from Konflux. This was added in konflux-ci#645 and then removed in konflux-ci#654 due to the limitation of Tekton results' size. Signed-off-by: arewm <[email protected]>
f2d24c5
to
f0162a8
Compare
For open-source-ness: discussed on internal slack, decided to defer this to a separate change because it could have some implications |
Now that the BASE_IMAGE_DIGESTS result has been removed, there should be enough room for us to re-add the SBOM_BLOB_URL. This will enable EC verification of the SBOM based on the digest which is recorded in the provenenance. It will prevent supply-chain attacks which are driven by modifying the floating tag of the uploaded SBOM.
Even with the referrer's API, the digest can be used to identify which SBOM should be the one built from Konflux.
This was added in #645 and then removed in #654 due to the limitation of Tekton results' size.
Before you complete this pull request ...
Look for any open pull requests in the repository with the title "e2e-tests update" and
see if there are recent e2e-tests updates that will be applicable to your change.